package com.dianqiu.common.bean;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import com.dianqiu.base.bean.BaseTO;

/**
 * DqPlayers entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "dq_players", catalog = "dq_dev")
public class DqPlayersTO extends BaseTO implements java.io.Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer plyrId;
	private String plyrName;
	private String plyrNameEn;
	private String plyrNameSc;
	private String plyrNameTc;
	private Integer plyrAge;
	private String plyrHeight;
	private Timestamp plyrBirthData;
	private Integer plyrPosition;
	private String plyrWeight;
	private Set<DqClubPlayersTO> dqClubPlayerses = new HashSet<DqClubPlayersTO>(0);

	@Id
	@Column(name = "PLYR_ID", unique = true, nullable = false)
	public Integer getPlyrId() {
		return this.plyrId;
	}

	public void setPlyrId(Integer plyrId) {
		this.plyrId = plyrId;
	}

	@Column(name = "PLYR_NAME", length = 45)
	public String getPlyrName() {
		return this.plyrName;
	}

	public void setPlyrName(String plyrName) {
		this.plyrName = plyrName;
	}

	@Column(name = "PLYR_NAME_EN", nullable = false, length = 200)
	public String getPlyrNameEn() {
		return this.plyrNameEn;
	}

	public void setPlyrNameEn(String plyrNameEn) {
		this.plyrNameEn = plyrNameEn;
	}

	@Column(name = "PLYR_NAME_SC", length = 200)
	public String getPlyrNameSc() {
		return this.plyrNameSc;
	}

	public void setPlyrNameSc(String plyrNameSc) {
		this.plyrNameSc = plyrNameSc;
	}

	@Column(name = "PLYR_NAME_TC", length = 200)
	public String getPlyrNameTc() {
		return this.plyrNameTc;
	}

	public void setPlyrNameTc(String plyrNameTc) {
		this.plyrNameTc = plyrNameTc;
	}

	@Column(name = "PLYR_AGE")
	public Integer getPlyrAge() {
		return this.plyrAge;
	}

	public void setPlyrAge(Integer plyrAge) {
		this.plyrAge = plyrAge;
	}

	@Column(name = "PLYR_HEIGHT", length = 5)
	public String getPlyrHeight() {
		return this.plyrHeight;
	}

	public void setPlyrHeight(String plyrHeight) {
		this.plyrHeight = plyrHeight;
	}

	@Column(name = "PLYR_BIRTH_DATA", length = 19)
	public Timestamp getPlyrBirthData() {
		return this.plyrBirthData;
	}

	public void setPlyrBirthData(Timestamp plyrBirthData) {
		this.plyrBirthData = plyrBirthData;
	}

	@Column(name = "PLYR_POSITION")
	public Integer getPlyrPosition() {
		return this.plyrPosition;
	}

	public void setPlyrPosition(Integer plyrPosition) {
		this.plyrPosition = plyrPosition;
	}

	@Column(name = "PLYR_WEIGHT", length = 5)
	public String getPlyrWeight() {
		return this.plyrWeight;
	}

	public void setPlyrWeight(String plyrWeight) {
		this.plyrWeight = plyrWeight;
	}

}